Skip to main content
Version: 4.x.x

OnProgressCallbackType


import { OnProgressCallbackType } from "@hyper-fetch/react"

Description

Defined in react/src/helpers/use-request-events/use-request-events.types.ts:105

Preview

type OnProgressCallbackType = <Request>(progress: ProgressType, details: RequestEventType<Request>) => void | Promise<void>;

Structure

(progress: ProgressType, details: RequestEventType<Request>) => void | Promise<void>